package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 告别厅场次维护表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "MournSessionNumberEntity", name = "mourn_session_number", comment = "告别厅场次维护表")
public class MournSessionNumberEntity extends BaseEntity {
    /**
     * 礼厅类型编码
     */
    @MyColumn(value = "hallTypeCode", name = "hall_type_code", comment = "礼厅类型编码", required = true)
    private Integer hallTypeCode;

    /**
     * 礼厅设备外键
     */
    @MyColumn(value = "hallId", name = "hall_id", comment = "礼厅设备外键")
    private Integer hallId;

    /**
     * 场次
     */
    @MyColumn(value = "sessionNumber", name = "session_number", comment = "场次", required = true)
    private Integer sessionNumber;

    /**
     * 时间段
     */
    @MyColumn(value = "timeSegment", name = "time_segment", comment = "时间段")
    private String timeSegment;


    public Integer getHallTypeCode() {
        return hallTypeCode;
    }

    public MournSessionNumberEntity setHallTypeCode(Integer hallTypeCode) {
        this.hallTypeCode = hallTypeCode;
        return this;
    }

    public Integer getHallId() {
        return hallId;
    }

    public MournSessionNumberEntity setHallId(Integer hallId) {
        this.hallId = hallId;
        return this;
    }

    public Integer getSessionNumber() {
        return sessionNumber;
    }

    public MournSessionNumberEntity setSessionNumber(Integer sessionNumber) {
        this.sessionNumber = sessionNumber;
        return this;
    }

    public String getTimeSegment() {
        return timeSegment;
    }

    public MournSessionNumberEntity setTimeSegment(String timeSegment) {
        this.timeSegment = timeSegment;
        return this;
    }
}